package com.xyb.client.impl;

import com.xyb.client.ChartClient;
import com.xyb.entity.Result;
import org.springframework.stereotype.Service;

@Service
public class ChartClientImpl implements ChartClient {

    @Override
    public Result selectBizChart() {
        /**
         * 可以给一些默认值,或者给一些默认配置
         */
        Result result = new Result();
        result.setCode(4040);
        result.setFlag(false);
        result.setMsg("服务暂时不可用");
        return result;
    }
}
